package com.javasm.myexception;


import com.javasm.http.AjaxMsgEnum;

/**
 * 自定义异常类
 */

public class MyException extends RuntimeException {


    private AjaxMsgEnum ajaxMsgEnum;


    public MyException(AjaxMsgEnum ajaxMsgEnum) {
        this.ajaxMsgEnum = ajaxMsgEnum;
    }

    public AjaxMsgEnum getAjaxMsgEnum() {
        return ajaxMsgEnum;
    }

    public void setAjaxMsgEnum(AjaxMsgEnum ajaxMsgEnum) {
        this.ajaxMsgEnum = ajaxMsgEnum;
    }
}
